package cn.sharp.bbs.service;

import cn.sharp.bbs.common.page.PageParam;
import cn.sharp.bbs.entity.DO.Group;

import java.util.List;
import java.util.Map;

public interface UserFollowService {

    List<Group> getFollowLists(Long uid);

    boolean isInvalidGroup(Long u_id, Long group);

    Map<String, Object> getFollowInGroup(Long u_id, Long group, PageParam pageParam);

    Object getRecentFollows(String account);

    String copyFollowToGroup(Long u_id, Long[] userIds, Long group);

    List<Group> getUserInGroup(Long operator, Long u_id);

    String setFollowToGroup(Long operator, Long u_id, Long[] groups);

    String delFollowGroup(Long u_id, Long group);

    void createGroup(Group group);
}
